package com.lvneng.core;

import com.github.zengfr.easymodbus4j.client.ModbusClient;

public class MyModbusClient {

    private String host;
    private int port;
    private int maximumAddressLen;
    private int internalSlaveId;
    private int externalSlaveId;
    private ModbusClient modbusClient;

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public int getMaximumAddressLen() {
        return maximumAddressLen;
    }

    public void setMaximumAddressLen(int maximumAddressLen) {
        this.maximumAddressLen = maximumAddressLen;
    }

    public int getInternalSlaveId() {
        return internalSlaveId;
    }

    public void setInternalSlaveId(int internalSlaveId) {
        this.internalSlaveId = internalSlaveId;
    }

    public ModbusClient getModbusClient() {
        return modbusClient;
    }

    public void setModbusClient(ModbusClient modbusClient) {
        this.modbusClient = modbusClient;
    }

    public int getExternalSlaveId() {
        return externalSlaveId;
    }

    public void setExternalSlaveId(int externalSlaveId) {
        this.externalSlaveId = externalSlaveId;
    }


}
